package com.alex.cms.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

/**
 * <p>
 * 专题表
 * </p>
 *
 * @author alex
 * @since 2019-10-24
 */
public class CmsSpecial implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 专题标题
     */
    @TableField("title")
    private String title;

    /**
     * 专题摘要
     */
    @TableField("summary")
    private String summary;

    /**
     * 创建时间
     */
    @TableField("created")
    private Date created;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }
    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }
    public String getSummary() {
        return summary;
    }

    public void setSummary(String summary) {
        this.summary = summary;
    }
    public Date getCreated() {
        return created;
    }

    public void setCreated(Date created) {
        this.created = created;
    }

    @Override
    public String toString() {
        return "CmsSpecial{" +
            "id=" + id +
            ", title=" + title +
            ", summary=" + summary +
            ", created=" + created +
        "}";
    }
}
